package com.open.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.open.system.dao.LoanFeedbackDao;
import com.open.system.domain.LoanFeedbackDO;
import com.open.system.service.LoanFeedbackService;



@Service
public class LoanFeedbackServiceImpl implements LoanFeedbackService {
	@Autowired
	private LoanFeedbackDao loanFeedbackDao;
	
	@Override
	public LoanFeedbackDO get(Long id){
		return loanFeedbackDao.get(id);
	}
	
	@Override
	public List<LoanFeedbackDO> list(Map<String, Object> map){
		return loanFeedbackDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return loanFeedbackDao.count(map);
	}
	
	@Override
	public int save(LoanFeedbackDO loanFeedback){
		return loanFeedbackDao.save(loanFeedback);
	}
	
	@Override
	public int update(LoanFeedbackDO loanFeedback){
		return loanFeedbackDao.update(loanFeedback);
	}
	
	@Override
	public int remove(Long id){
		return loanFeedbackDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return loanFeedbackDao.batchRemove(ids);
	}
	
}
